
<template>
  <div class="mycollect">
    <div>收藏的笔记</div>
    <div>
      <div>
        <div>11</div>
        <div>11</div>
        <div>11</div>
      </div>
      <div class="collectbox" v-for="(item , index) in bjcollectdata" :key="index">
          <img :src="item.day_list[0].image_u" alt="">
      </div>
    </div>
  </div>
</template>

<script>
export default {
name:'mycolllect',
data(){
  return{
    bjcollectdata:[]
  }
},
created(){
  this.getcollectdat()
},
methods:{
  getcollectdat(){
    this.axios({
      method:'get',
      url:'https://apis.netstart.cn/douguo/user/ufavorites/16753515/0/20'
    }).then((res) =>{
      this.bjcollectdata= res.data.result.notes
      console.log(' this.bjcollectdata==>', this.bjcollectdata.image_u)
    }).catch((err) =>{
      console.log('err==>' ,err);
    })
  }
}
}

</script>

<style lang="less" scoped>
.collectbox{
  width: 100px;
  height: 100px;
  background-color: #e43;
}
</style>